/*
 * @Description: 商品管理模块接口
 * @version: 电子名片2.0
 * @Author: 尹鑫
 * @Date: 2020-12-02 09:31:16
 * @LastEditors: 尹鑫
 * @LastEditTime: 2020-12-16 10:46:38
 */
import request from '@/utils/request'

// =======================组织商品审核=======================

// 商品组织审核列表
export function commodityList(query) {
  return request({
    url: '/sys/platform/company/product',
    method: 'get',
    params: query
  })
}

// 商品组织审核详情
export function commodityDetail(query) {
  return request({
    url: `/sys/platform/company/product/${query.productId}`,
    method: 'post'
  })
}

// 商品组织审核审核
export function commodityCheck(query) {
  return request({
    url: '/sys/platform/company/product/audit',
    method: 'post',
    data: query
  })
}
